<?php

/**
 *
 * @author Marc André Audet <root@manhim.net>
 * @copyright Copyright(c) 2009-2010 Marc André Audet
 * @license http://www.gnu.org/licenses/gpl.txt The GNU General Public License version 3
 *
 *  Translators/Maintainers:
 *   - Marc André Audet <root@manhim.net>
 *
 */

class English_Install
{
	function Language($name)
	{
		switch ($name)
		{
			case 'Step 1 (Agreement)': return 'Step 1 (Agreement)';
			case 'Step 2 (Environment check)': return 'Step 2 (Environment check)';
			case 'Step 3 (Configuration)': return 'Step 3 (Configuration)';
			case 'Step 4 (Installation)': return 'Step 4 (Installation)';
			case 'GStats++ 3 Installation': return 'GStats++ 3 Installation';
			case 'Unchecked': return 'Unchecked';
			case 'Retry': return 'Retry';

			//STEP 1
			case 'GStats++ 3 - Installation Step 1': return 'GStats++ 3 - Installation Step 1';
			case 'Before continuing the installation of GStats++ 3 you must agree about it\'s Terms and Conditions and the Usage Agreements.': return 'Before continuing the installation of GStats++ 3 you must agree about it\'s Terms and Conditions and the Usage Agreements.';
			case 'Terms and conditions:': return 'Terms and conditions:';
			case 'Usage agreements:': return 'Usage agreements:';
			case 'I agree to the Terms and Conditions and the Usage Agreements.': return 'I agree to the Terms and Conditions and the Usage Agreements.';

			//STEP 2
			case 'PHP Version': return 'PHP Version';
			case 'PDO Class Loaded': return 'PDO Class Loaded';
			case 'MPDO Class Loaded': return 'MPDO Class Loaded';
			case 'Templates Class Loaded': return 'Templates Class Loaded';
			case 'Config.inc.php is writeable': return 'Config.inc.php is writeable';
			case 'You might consider upgrading your current version of PHP to at least %1$s.': return 'You might consider upgrading your current version of PHP to at least %1$s.';
			case 'A version of at least %1$s is required for the software to run correctly. Please update your version of PHP.': return 'A version of at least %1$s is required for the software to run correctly. Please update your version of PHP.';
			case 'Your installation of GStats++ might have been corrupted. Please re-download the files and re-install.': return 'Your installation of GStats++ might have been corrupted. Please re-download the files and re-install.';
			case 'The file %1$s is not writable. Please change the access rights so this software can write and read from the file %1$s from the %2$s folder.'; return 'The file %1$s is not writable. Please change the access rights so this software can write and read from the file %1$s from the %2$s folder.';
			case 'The setup couldn\'t create the %1$s file, please make an empty %1$s file in the %2$s folder and give it write and read accesses for the software.': return 'The setup couldn\'t create the %1$s file, please make an empty %1$s file in the %2$s folder and give it write and read accesses for the software.';
			case 'PDO is required in order for GStats++ to work. You will need to configure PHP with PDO support with PDO_MySQL and PDO_SQLite drivers.': return 'PDO is required in order for GStats++ to work. You will need to configure PHP with PDO support with PDO_MySQL and PDO_SQLite drivers.';
			case 'The PDO_SQLITE extension is not loaded, therefore it won\'t be able to connect to SQLite databases.': return 'The PDO_SQLITE extension is not loaded, therefore it won\'t be able to connect to SQLite databases.';

			case 'GStats++ 3 - Installation Step 2': return 'GStats++ 3 - Installation Step 2';
			case 'The script will now proceed to check if the environment is suitable to continue the installation of GStats++.': return 'The script will now proceed to check if the environment is suitable to continue the installation of GStats++.';
			case 'Name': return 'Name';
			case 'Recommended': return 'Recommended';
			case 'Minimal': return 'Minimal';
			case 'Status': return 'Status';
			case 'Message': return 'Message';
			case 'Continue to step 3.': return 'Continue to step 3.';

			//STEP 3
			case 'GStats++ 3 - Installation Step 3': return 'GStats++ 3 - Installation Step 3';
		}
	}
}

return new English_Install();

?>